package com.yxlgateway.gateway.controller;//package com.yxl.controller;
//
//import com.yxlcommon.common.pojo.Chat;
//import com.yxl.service.ChatService;
//import com.yxlcommon.common.vo.ChatVo;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import java.util.List;
//
///**
// * @author: yxl
// * @since: 2022-03-19
// **/
//@Slf4j
//@RestController
//@RequestMapping("/session")
//public class ChatController {
//    @Autowired
//    private ChatService chatService;
//
//    @PostMapping("/getSession")
//    public ResultMessage<List<ChatVo>> getSession(@RequestBody Chat chat){
//        return chatService.getSession(chat.getSender(),chat.getReceiver());
//    }
//}
